// ----------------------------------
// RSDK Project: Sonic 2
// Script Description: Sonic Cabaret Object
// Script Author: Christian Whitehead/Simon Thomley
// Unpacked by Rubberduckycooly's script unpacker
// ----------------------------------

// ========================
// Aliases
// ========================


// States
private alias 0 : SONIC_DEACTIVE
private alias 1 : SONIC_ACTIVE

// Player Aliases
private alias object.xpos : player.xpos
private alias object.ypos : player.ypos
private alias object.xvel : player.xvel
private alias object.yvel : player.yvel
private alias object.speed : player.speed
private alias object.gravity : player.gravity
private alias object.animation : player.animation

private alias object.value1  : player.timer
private alias object.value40 : player.hitboxLeft
private alias object.value38 : player.hitboxTop
private alias object.value41 : player.hitboxRight
private alias object.value39 : player.hitboxBottom


event ObjectStartup
		LoadSpriteSheet("CNZ/Objects.gif")
		SpriteFrame(-23, -16, 47, 32, 1, 1)
		SpriteFrame(-31, -16, 59, 32, 49, 1)
		SpriteFrame(-24, -16, 40, 32, 109, 1)
		SpriteFrame(-32, -16, 48, 32, 150, 1)
